package com.four.rentalhousing.util;

import org.apache.commons.codec.digest.DigestUtils;

public class MD5Util {
    public static String getEncrypCode(String msg){
        String info = DigestUtils.md5Hex(msg);
        return info;
    }

    public static void main(String[] args) {
        System.out.println(getEncrypCode("123456"));
    }
}
